import Vue from 'vue'
import App from './App.vue'

import './assets/element.css'
import loadingDirective from './components/Loading/directive.js'
import loadingService from './components/Loading/service.js'
import messageService from './components/Message/service.js'

Vue.use(loadingDirective);
Vue.prototype.$loading = loadingService;
Vue.prototype.$message = messageService;

Vue.config.productionTip = false

new Vue({
  render: h => h(App),
}).$mount('#app')
